<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta name="description" content="Responsive Admin Dashboard Template">
		<meta name="keywords" content="admin,dashboard">
		<meta name="author" content="skcats">
		<!-- The above 6 meta tags *must* come first in the head; any other head content must come *after* these tags -->

		<!-- Title -->
		<title>首页</title>

		<!-- Styles -->
		<!-- 	<link href="https://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet">
	 -->
		<link href="assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
		<!-- 
		<link href="assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet"> -->
		<link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
		<link href="assets/plugins/icomoon/style.css" rel="stylesheet">
		<link href="assets/plugins/uniform/css/default.css" rel="stylesheet" />
		<link href="assets/plugins/switchery/switchery.min.css" rel="stylesheet" />

		<!-- Theme Styles -->
		<link href="assets/css/ecaps.min.css" rel="stylesheet">
		<link href="assets/css/custom.css" rel="stylesheet">

		<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
		<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
		<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
	</head>
	<body>

		<!-- Page Container -->
		<div class="page-container">
			<!-- Page Sidebar -->
			<div class="page-sidebar">
				<a class="logo-box" href="index.html">
					<span><i class="icon-leaf"></i>gmcbrand</span>
					<i class="icon-close" id="sidebar-toggle-button-close"></i>
				</a>
				<div class="page-sidebar-inner">
					<div class="page-sidebar-menu">
						<ul class="accordion-menu">
							<li class="active-page">
								<a href="index.html">
									<i class="menu-icon icon-home4"></i><span>首页</span>
								</a>
							</li>
							<li>
								<a href="javascript:void(0);">
									<i class="menu-icon fa fa-bandcamp" aria-hidden="true"></i><span>品牌商</span><i class="accordion-icon fa fa-angle-right"></i>
								</a>
								<ul class="sub-menu">
									<li><a href="brand-addbrand.html" target="menuFrame"><i class="fa fa-commenting-o" aria-hidden="true"></i><span>我的信息</span></a></li>
									<li><a href="brand-productInput-attr.html" target="menuFrame"><i class="fa fa-yoast" aria-hidden="true"></i><span>商品录入</span></a></li>
									<li><a href="brand-productInput-pic.html" target="menuFrame"><i class="fa fa-shopping-basket" aria-hidden="true"></i><span>商品主图</span></a></li>
									<li><a href="brand-orderlist.html" target="menuFrame"><i class="fa fa-first-order" aria-hidden="true"></i><span>订单管理</span></a></li>
									<li><a href="500.html"><i class="fa fa-google-wallet" aria-hidden="true"></i><span>钱包</span></a></li>
								</ul>
							</li>
							<li>
								<a href="javascript:void(0);">
									<i class="menu-icon fa fa-amazon" aria-hidden="true"></i><span>借卖方</span><i class="accordion-icon fa fa-angle-right"></i>
								</a>
								<ul class="sub-menu">
									<li><a href="#"><i class="fa fa-commenting-o" aria-hidden="true"></i><span>我的信息</span></a></li>
									<li><a href="#"><i class="fa fa-shopping-cart" aria-hidden="true"></i><span>店铺管理</span></a></li>
									<li><a href="#"><i class="fa fa-shopping-bag" aria-hidden="true"></i><span>商品浏览</span></a></li>
									<li><a href="#"><i class="fa fa-jpy" aria-hidden="true"></i><span>心愿单</span></a></li>
									<li><a href="#"><i class="fa fa-first-order" aria-hidden="true"></i><span>订单管理</span></a></li>
									<li><a href="#"><i class="fa fa-google-wallet" aria-hidden="true"></i><span>我的钱包</span></a></li>
								</ul>
							<li class="menu-divider"></li>
							<li>
								<a href="#">
									<i class="menu-icon fa fa-adn" aria-hidden="true"></i><span>数据字典管理</span>
								</a>
							</li>
						</ul>
					</div>
				</div>
			</div><!-- /Page Sidebar -->

			<!-- Page Content -->
			<div class="page-content">
				<!-- Page Header -->
				<div class="page-header">
					<div class="search-form">
						<form action="#" method="GET">
							<div class="input-group">
								<input type="text" name="search" class="form-control search-input" placeholder="Type something...">
								<span class="input-group-btn">
									<button class="btn btn-default" id="close-search" type="button"><i class="icon-close"></i></button>
								</span>
							</div>
						</form>
					</div>
					<nav class="navbar navbar-default">
						<div class="container-fluid">
							<!-- Brand and toggle get grouped for better mobile display -->
							<div class="navbar-header">
								<div class="logo-sm">
									<a href="javascript:void(0)" id="sidebar-toggle-button"><i class="fa fa-bars"></i></a>
									<a class="logo-box" href="index.html"><span>gmcbrand</span></a>
								</div>
								<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"
								 aria-expanded="false">
									<i class="fa fa-angle-down"></i>
								</button>
							</div>

							<!-- Collect the nav links, forms, and other content for toggling -->
							<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
								<ul class="nav navbar-nav">
									<li><a href="javascript:void(0)" id="collapsed-sidebar-toggle-button"><i class="fa fa-bars"></i></a></li>
									<li><a href="javascript:void(0)" id="toggle-fullscreen"><i class="fa fa-expand"></i></a></li>
									<li><a href="javascript:void(0)" id="search-button"><i class="fa fa-search"></i></a></li>
								</ul>
								<ul class="nav navbar-nav navbar-right">
									<li class="dropdown user-dropdown">
										<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><img
											 src="http://via.placeholder.com/36x36" alt="" class="img-circle"></a>
										<ul class="dropdown-menu">
											<li><a href="#">Profile</a></li>
											<li><a href="#">Calendar</a></li>
											<li><a href="#"><span class="badge pull-right badge-danger">42</span>Messages</a></li>
											<li role="separator" class="divider"></li>
											<li><a href="#">Account Settings</a></li>
											<li><a href="#">Log Out</a></li>
										</ul>
									</li>
								</ul>
							</div><!-- /.navbar-collapse -->
						</div><!-- /.container-fluid -->
					</nav>
				</div><!-- /Page Header -->
				<iframe id="menuFrame" name="menuFrame" src="brand-addbrand.html" frameborder="no" width="100%" height="100%">
				</iframe>
			</div><!-- /Page Content -->
		</div><!-- /Page Container -->


		<!-- Javascripts -->
		<script src="assets/plugins/jquery/jquery-3.1.0.min.js"></script>
		<script src="assets/plugins/bootstrap/js/bootstrap.min.js"></script>
		<script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js"></script>
		<script src="assets/plugins/uniform/js/jquery.uniform.standalone.js"></script>
		<script src="assets/plugins/switchery/switchery.min.js"></script>
		<script src="assets/js/ecaps.min.js"></script>
		<script type="text/javascript">
			//iframe自适应高度
			function setIframeHeight(iframe) {
				if (iframe) {
					var iframeWin = iframe.contentWindow || iframe.contentDocument.parentWindow;
					if (iframeWin.document.body) {
						iframe.height = iframeWin.document.documentElement.scrollHeight || iframeWin.document.body.scrollHeight;
					}
				}
			};
			window.onload = function(){
				setIframeHeight(document.getElementById('menuFrame'));
			}
			/* 
			//主页面 向 iframe传递事件
//主页面
var frame = document.getElementById('iframeId');
// postMessage接收两个参数，第一个表示信息，可以传递字符串或者对象，我用的对象。refresh 是目标页面监听事件的key,对象内可以传递多个key;第二个参数表示目标源，*表示所有，但不安全，建议使用具体地址
frame.contentWindow.postMessage({refresh：'id'},'*'); 

//iframe页面
window.addEventListener('message',function(event){
　　// event.origin --发送者的源
　　// event.source --发送者的window对象
　　// event.data --数据
　　if(event.data.refresh){
　　　　//此处执行事件
   }

}) 			 
			 */
			/* var frame = document.getElementById('menuFrame');
			frame.contentWindow.postMessage({id:'1'},'*'); */
		</script>
	</body>
</html>
